Proof of Bernoulli's inequality